package com.situ.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.situ.crm.entity.Order;
import com.situ.crm.entity.SaleChance;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);
    
    List<Order> pageList();
    
    Integer inserts(@Param("customerId")Integer customerId,@Param("saleChanceId")Integer saleChanceId);
}